STEP 8: Let's add the letter to where we're storing our revealed message.

Just like with integers, where we can add to an existing variable with +=, we can do the same with strings.

  • In , drag in Add Value to the bottom of your program.
  • At the bottom of your program, replace the my_var before the += with revealed_message.
  • In the bottom of your program, replace the number 1 after the += with the variable my_var.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)